<style type="text/css">
<!--
.table1 {
	margin: auto;
	width: 100%;
}
-->
</style>
<script>
    $().ready(function(){
        $("#form1").validate({
            rules: {
                email: {
                    email: true
                }
            },
            messages: {
                kename: {
                    required: "科室名称不能为空!"
                },
                daytime: {
                    required: "出诊时间不能为空!"
                },
                didian: {
                    required: "地点不能为空!"
                },
                telephone: {
                    required: "电话不能为空!"
                },
                jianjie: {
                    required: "简介不能为空!"
                },
                email: {
                    required: "邮箱不能为空!",
                    email: "请输入正确的邮箱格式!"
                }
            }
        });
    });
</script>
<form method="POST" name="form1" id="form1">
  <table class="table1">
    <tr>
      <th> 科室名称: </th>
      <td><input type="text" name="kename" value="<?=$this->keshi->kename ?>" size="32" id="kename"/>
      </td>
    </tr>
    <tr>
      <th> 所属: </th>
      <td><?=$this->formSelect('leibie_id' , $this->keshi->leibie_id , null , array('1'=>'行政科室','2'=>'医疗科室','3'=>'后勤科室')) ?>
      </td>
    </tr>
    <tr>
      <th> 门诊地址: </th>
      <td><input name="didian" type="text" id="didian" value="<?=$this->keshi->didian ?>"/>
      </td>
    </tr>
    <tr>
      <th> 电话: </th>
      <td><input name="telephone" type="text" id="telephone" value="<?=$this->keshi->telephone ?>"/>
      </td>
    </tr>
    <tr>
      <th> 邮箱: </th>
      <td><input name="email" type="text" id="email" value="<?=$this->keshi->email ?>"/>
      </td>
    </tr>
    <tr>
      <th> 科室简介: </th>
      <td><?=$this->fck("jianjie",$this->keshi->jianjie) ?>
      </td>
    </tr>
  </table>
  <div style="text-align: center; margin: 10px">
    <input type="submit" value="更新">
  </div>
</form>
